# coding: utf-8

from numpy import around
from robotics.io.pcd import load_point_cloud, save_point_cloud

prefix = '/Users/yfwz100/Documents/notebook/icp/robot/data/20160516/'

for i in range(8, 30):
    p = around(load_point_cloud('%spoint%d.txt' % (prefix, i)) / 1000, 6)
    save_point_cloud('%s%d-points.pcd' % (prefix, i), p)
